package com.jinyao.exploit.modules.sys.web;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestBody;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.ResponseBody;/*********************************************************************** * 文件说明：主页控制器 * 创建信息：李晋 2019/03/19 10:48 * 变更履历：  ***********************************************************************/@Controller@RequestMapping(value = "${adminPath}")public class HomeController {    @RequestMapping    public String index() {        return "index";    }    @RequestMapping(value = "toLogin")    @ResponseBody    public String toLogin(String username, String password) {        return "index";    }}